<extend name="Public:innerbase" />
<block name="js"></block>
<block name="content">
<div class="container-fluid">
	<div class="page-header wm-page-header">
		<h4>学员管理</h4>
	</div>
	<table class="table wm-table-bordered table-hover table-striped">
		<thead>
		<tr>
		<th width="50">姓名</th>
		<th width="120">联系电话</th>
		<th width="120">和宝宝关系</th>
		<th width="120">宝宝姓名</th>
		<th width="160">宝宝年龄</th>
		<th width="200" class="norightborder">操作</th>
		</tr>
		</thead>
		<tbody>
		<volist name="list" id="vo"> 
		<tr>
		<td>{$vo.name}</td>
		<td>{$vo.mobile}</td>
		<td><?php if($vo['role']==0)echo '妈妈';else if($vo['role']==1)echo '爸爸';else echo '其他';?></td>
		<td>{$vo.baby_name}</td>
		<td>{$vo.baby_age}</td>
		<td>
		<!--<a class="btn btn-xs btn-default" href="{:U('stu_edit?id='.$vo['id'])}">修改</a>-->
		<a class="btn btn-xs btn-danger" href="{:U('delete?id='.$vo['id'])}">删除</a>
		</td>
		</tr>
		</volist>
		</tbody>
	</table>
	<div>{$page}</div>
</div>
</block>